package io.renren.modules.app.service.impl;

import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.app.dao.ScriptRunDetailsDao;
import io.renren.modules.app.entity.ScriptRunDetailsEntity;
import io.renren.modules.app.service.ScriptRunDetailsService;
import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;


@Service("scriptRunDetailsService")
public class ScriptRunDetailsServiceImpl extends ServiceImpl<ScriptRunDetailsDao, ScriptRunDetailsEntity> implements ScriptRunDetailsService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<ScriptRunDetailsEntity> page = this.page(
                new Query<ScriptRunDetailsEntity>().getPage(params),
                new QueryWrapper<ScriptRunDetailsEntity>()
        );

        return new PageUtils(page);
    }

}